﻿using System;
namespace Chenxin.Lib.House.Entity
{
    /// <summary>
    /// 实体类House_BusinessSetting 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class House_BusinessSetting
    {
        public House_BusinessSetting()
        { }
        #region Model
        private Guid _departid;
        private int? _protectednum;
        private int? _viewownernum;
        private bool _ishidehouse;
        private bool _isaloneusercode;
        private int? _lockhouseday;
        private bool _isprotectmark;
        private int? _markprotecthours;
        private bool _allowprivhouse;
        private bool _allowpubdemand;
        private bool _isuseblacklist;
        private int? _blacklistlevel;
        private string _canaddatcityid;
        private string _canaddatcityname;
        private int? _customerdemandnum;
        private int? _overtimetracenum;
        private bool _istelrepeat;
        private bool _useblockrole;
        private int? _blockrolenum;

        //具体片区规则
        public int? BlockRoleNum
        {
            set { _blockrolenum = value; }
            get { return _blockrolenum; }
        }


        //是否使用片区规则
        public bool UseBlockRole
        {
            set { _useblockrole = value; }
            get { return _useblockrole; }
        }

        //入客需时，对客户资料进行电话号码重复性检查
        public bool IsTelRepeat
        {
            set { _istelrepeat = value; }
            get { return _istelrepeat; }
        }

        //超时未客户/客需跟单上限
        public int? OverTimeTraceNum
        {
            set { _overtimetracenum = value; }
            get { return _overtimetracenum; }
        }

        //每人需求客户数量上限
        public int? CustomerDemandNum
        {
            set { _customerdemandnum = value; }
            get { return _customerdemandnum; }
        }

        //可添加房源所在城市
        public string CanAddAtCityName
        {
            set { _canaddatcityname = value; }
            get { return _canaddatcityname; }
        }
        //可添加房源所在城市Id
        public string CanAddAtCityId
        {
            set { _canaddatcityid = value; }
            get { return _canaddatcityid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }

        /// <summary>
        /// 手动保护房源设定
        /// </summary>
        public int? ProtectedNum
        {
            set { _protectednum = value; }
            get { return _protectednum; }
        }
        /// <summary>
        /// 每天查看电话数量限制
        /// </summary>
        public int? ViewOwnerNum
        {
            set { _viewownernum = value; }
            get { return _viewownernum; }
        }
        /// <summary>
        /// 该部门房源是否隐藏
        /// </summary>
        public bool IsHideHouse
        {
            set { _ishidehouse = value; }
            get { return _ishidehouse; }
        }
        /// <summary>
        /// 是否单独工号序列
        /// </summary>
        public bool IsAloneUserCode
        {
            set { _isaloneusercode = value; }
            get { return _isaloneusercode; }
        }
        /// <summary>
        /// 封盘最长有效期
        /// </summary>
        public int? LockHouseDay
        {
            set { _lockhouseday = value; }
            get { return _lockhouseday; }
        }
        /// <summary>
        /// 是否对备案进行保护
        /// </summary>
        public bool IsProtectMark
        {
            set { _isprotectmark = value; }
            get { return _isprotectmark; }
        }
        /// <summary>
        /// 保护时限
        /// </summary>
        public int? MarkProtectHours
        {
            set { _markprotecthours = value; }
            get { return _markprotecthours; }
        }
        /// <summary>
        /// 允许输入私盘
        /// </summary>
        public bool AllowPrivHouse
        {
            set { _allowprivhouse = value; }
            get { return _allowprivhouse; }
        }
        /// <summary>
        /// 允许输入私客
        /// </summary>
        public bool AllowPubDemand
        {
            set { _allowpubdemand = value; }
            get { return _allowpubdemand; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsUseBlacklist
        {
            set { _isuseblacklist = value; }
            get { return _isuseblacklist; }
        }
        /// <summary>
        /// 10:公司级；20：部门级；30：个人级
        /// </summary>
        public int? BlacklistLevel
        {
            set { _blacklistlevel = value; }
            get { return _blacklistlevel; }
        }
        #endregion Model

    }
}

